﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace Tulde.MP3tunes.Model
{
    [JsonObject()]
    public class ModelCollection
    {

        [JsonProperty("summary")]
        public ResultSummary Summary { get; set; }
        [JsonProperty("albumList")]
        public ObservableCollection<Album> Albums { get; set; }
        [JsonProperty("artistList")]
        public ObservableCollection<Artist> Artists { get; set; }
        [JsonProperty("trackList")]
        public ObservableCollection<Track> Tracks { get; set; }
   
        [JsonProperty("playlistList")]
        public ObservableCollection<Playlist> Playlists { get; set; }

        public ModelCollection()
        {
            this.Summary = new ResultSummary();
            this.Albums = new ObservableCollection<Album>();
            this.Artists = new ObservableCollection<Artist>();
            this.Tracks = new ObservableCollection<Track>();
            this.Playlists = new ObservableCollection<Playlist>();
        }


    }
}
